package com.mightykiwi.beans;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="CONTACT")
public class Contact implements java.io.Serializable {

	@Id
	@Column(name="CONTACT_SN")
	private String social_network;
	@Id
	@Column(name="CONTACT_SN_ID")
	private String sn_id;
	@Column(name="CONTACT_NOM")
	private String nom;
	@Column(name="CONTACT_BIRTHDAY")
	private Date birthday;

	public Contact() {}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getNom() {
		return nom;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getSocial_network() {
		return social_network;
	}

	public void setSocial_network(String social_network) {
		this.social_network = social_network;
	}

	public String getSn_id() {
		return sn_id;
	}

	public void setSn_id(String sn_id) {
		this.sn_id = sn_id;
	}


}
